{if !empty($diyitem['params']['content'])}
    <div class="diy-richtext" style="background: {$diyitem['style']['background']}; padding: {$diyitem['style']['padding']}px;">
        {php echo base64_decode($diyitem['params']['content'])}
    </div>
{/if}